//
//  ModuleTester.h
//  ModuleTesting
//
//  Created by vo loc on 8/3/11.
//  Copyright 2011 Epsilon Mobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ModuleInfo.h"
#import "GTMTesterViewController.h"

@interface ModuleTester : UIViewController 
	<UITableViewDelegate, UITableViewDataSource>
{
  NSMutableArray	* _testSuiteName;
  NSMutableArray	* _testCases;
  
  NSArray  * _demos;
  ModuleInfo			* _moduleInfo;
  
  enum {
    kTestModeUnitTests,
    kTestModeDemos,
  
  } _testMode; 
  
  IBOutlet UISegmentedControl * segmentControl;
}

@property (nonatomic, retain) IBOutlet UITableView * tableView;
@property (nonatomic, retain) IBOutlet UIToolbar * toolbar;

- (void)loadModule:(ModuleInfo*)info;
- (IBAction)testModeChanged:(id)sender;
@end
